package com.xuan.service;

import com.xuan.model.entity.User;
import com.xuan.model.respons.ResultBody;

import java.util.Map;


public interface AccountService {
    Map login(User user);

    User findOne(String username);

    ResultBody updateRoles(User user);
}
